package sanrenxing.dayEnd.backRepertoryTotal.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import sanrenxing.dayEnd.backRepertoryTotal.dao.FundSumDao;
import sanrenxing.dayEnd.backRepertoryTotal.domain.FundSum;
import sanrenxing.dayEnd.backRepertoryTotal.service.FundSumService;

import java.util.List;

@Service
public class FundSumServiceImpl implements FundSumService {
    @Autowired
    private FundSumDao fundSumDao;

    @Override
    public List<FundSum> selectByPage(int start, int end) {
        return fundSumDao.selectByPage(start,end);
    }

    @Override
    public int count() {
        return fundSumDao.count();
    }
}
